package cn.kgc.se.day03;

import java.util.Scanner;

/**
 * @author 课工场
 * @version 1.0
 * @date 2024/3/15
 * @description
 *  个人简历信息的动态输出  根据用户键盘输入的不同  输出不同的简历信息
 */
public class Demo05 {

    public static void main(String[] args) {

        // 扫描器
        Scanner scanner = new Scanner(System.in);
        // 姓名
        System.out.print("请输入姓名:");
        String name = scanner.next();
        //年龄
        System.out.print("请输入年龄:");
        byte age = scanner.nextByte();
        //工作年限
        System.out.print("请输入工龄:");
        short workTime = scanner.nextShort();

        //专业
        System.out.print("请输入专业:");
        String major = scanner.next();

        // 项目个数
        System.out.print("请输入项目个数:");
        int projectNumber = scanner.nextInt();
        // 兴趣爱好
        System.out.print("请输入兴趣爱好:");
        String hobby = scanner.next();


        System.out.println("这个同学的姓名是:\t"+name+",年龄是:\t"+age+"\n工作了"+workTime+"年了"
                +"\n专业是:"+major+"\n做过了"+projectNumber+"个项目"+"\n兴趣爱好:"+hobby);



    }
}
